import request from '@/utils/request'
import qs from 'qs'

export function login (params) {
  const data = {
    ...params
  }
  return request({
    url: '/merchant/login/index',
    method: 'post',
    data: qs.stringify(data)
  })
}
export function getUserInfo (params) {
  const data = {
    ...params
  }
  return request({
    url: '/merchant/seller/info',
    method: 'get',
    params: data
  })
}
